package day06;

import java.util.Scanner;

public class homework07 {
    /*7.	//十进制转二进制*/
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int num=sc.nextInt();
        convertbinary(num);
    }
    public static void convertbinary(int num){
        int[] binary = new int[40];
        int index = 0;
        while(num > 0){
            index++;
            binary[index] = num%2;
            num = num/2;
        }
        for(int i = index-1;i >= 0;i--){
            System.out.print(binary[i]);
        }
    }
}
